package com.hibase.upms.entity.login.user.vo;

import com.hibase.core.web.annotation.HibaseValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * 用户信息form
 *
 * @author hufeng
 * @date 2018/12/13
 */
@Data
@ApiModel("用户登录信息form")
@HibaseValid
public class LoginUserVO {

    @ApiModelProperty(value = "用户账号", example = "admin", notes = "admin")
    @NotEmpty(message = "用户账号不能为空")
    private String loginName;

    @ApiModelProperty(value = "用户密码", example = "admin", notes = "admin")
    @NotEmpty(message = "用户密码不能为空")
    private String loginPwd;
}
